package com.ali;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * RefreshScope：动态刷新
 * EnableDiscoveryClient：开启服务注册
 */
@RefreshScope
@EnableDiscoveryClient
@SpringBootApplication
public class Order1001ConsulMain {
    public static void main(String[] args) {
        SpringApplication.run(Order1001ConsulMain.class, args);
    }
}